import { LGXFileParseSvc } from "./lgxfileparsesvc";
import { SVGFileParseSvc } from "./svgfileparsesvc";
var LocalFileParserFactory = {}

LocalFileParserFactory.getParser = function (localFileType) {
    let parseSvc = null;
    switch (localFileType) {
        case 'lgx':
            parseSvc = new LGXFileParseSvc();
            break;

        case 'svg':
            parseSvc = new SVGFileParseSvc();
            break;

        default:
            break;
    }
    return parseSvc;
}

export { LocalFileParserFactory }